Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: Upload Control and File Size?
~Rex Kijumimaroni 30.Dec.03 02:25 PM a Web browser
Applications Development All Releases All Platforms


If you use JavaScript, or a JavaApplet, you should be able to do this. I found this on the web:

Function form1_onSubmit ()
Set WSHShell = CreateObject("WScript.Shell")
Set fso = CreateObject("Scripting.FileSystemObject")
Set file = fso.GetFile(document.form1.file.value)
filename = file.size
if (file.size > 6291456) then
MsgBox("The File is too big to upload")
form1_onSubmit = False
else
form1_onSubmit = True
end if
End Function


Here is the link to the actual thread:

http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_20765620.html




Upload Control and File Size? (~Naomi Minhipit... 30.Dec.03)
. . RE: Upload Control and File Size? (~Rex Kijumimaro... 30.Dec.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS